package com.feizi.mapper;

import java.util.List;

import com.feizi.entity.OrderdetailEntity;
import com.feizi.entity.OrderinfoEntity;
import com.feizi.entity.OrderinfoSelectEntity;
import com.feizi.entity.ShipmentsEntity;

public interface OrderMapper {
	/**
	 * 查询符合条件的订单
	 * @param ose
	 * @return
	 */
	public List<OrderinfoEntity> find(OrderinfoSelectEntity ose);
	/**
	 * 查询详细表
	 * @return
	 */
	public List<OrderdetailEntity> finddetail(String orderid);
	/**
	 * 获取总条数
	 * @param ose
	 * @return
	 */
	public int getCount(OrderinfoSelectEntity ose);
	/**
	 * 发货
	 * @param orderid
	 * @return
	 */
	public int shipments(ShipmentsEntity se);
	/**
	 * 修改地址
	 * @param oie
	 * @return
	 */
	public int upOrder(OrderinfoEntity oie);
}
